import request from '@/utils/request'


// 列表
export function getVehicleDisposalWarning(query) {
  return request({
    url: '/vehicleDisposal/vehicleDisposalWarning/list',
    method: 'get',
    params: query
  })
}

//常规处置预警配置
export function warningConfig(query) {
  return request({
    url: '/vehicleDisposal/vehicleDisposalWarning/warningConfig',
    method: 'get',
    params: query
  })
}


//查询车辆基础信息列表(处置模块使用)
export function queryOtherList(params) {
  return request({
    url: `/car/carBasic/queryOtherList`,
    method: 'get',
    params
  })
}

//根据车辆id查询车辆基础信息(处置模块使用)
export function getVehicleDisposal(carId) {
  return request({
    url: `/car/carBasic/getVehicleDisposal/${carId}`,
    method: 'get',
  })
}

export function getWarningConfig() {
  return request({
    url: `/vehicleDisposal/vehicleDisposalWarning/getWarningConfig`,
    method: 'get',
  })
}
